package cn.platform.service;

import cn.platform.request.AttendanceQueryDTO;
import cn.platform.request.AttendanceRecordDTO;
import cn.platform.response.AttendanceVO;
import cn.platform.response.PageResult;
import com.fasterxml.jackson.core.JsonProcessingException;

import java.util.List;

public interface AttendanceService {
    void recordAttendance(AttendanceRecordDTO attendanceRecord) throws JsonProcessingException;

    PageResult<AttendanceVO> page(AttendanceQueryDTO attendanceQueryDTO);

    void deleteRecord(Integer id);

    void deleteBatchRecords(List<Integer> ids);
}
